import storage from '@/utils/storage'

const CACHE_KEY = 'book_auth'
// 设置token
export function setToken(data){
  storage.set(CACHE_KEY, data)
}

//获取token
export function getToken(){
    return storage.get(CACHE_KEY)
}

